package cn.rongdao.jrkabao.util.talkingdata;

import android.content.Context;

import cn.mifengkong.appcommon.util.ChannelUtil;


/**
 * Created by jiangyongxing on 2016/12/21.
 * 描述：
 */

public class TalkingDataChannelIdTransformName {

    public static String uMengChannelIdTransformName(Context context) {
        String channelId = ChannelUtil.getChannelName(context);
        String name;
        switch (channelId) {
            case "yingyongbao":
                name = "应用宝";
                break;
            case "baidu":
                name = "百度手机助手";
                break;
            case "xiaomi":
                name = "小米";
                break;
            case "meizu":
                name = "魅族商店";
                break;
            case "oppo":
                name = "oppo手机";
                break;
            case "huawei":
                name = "华为";
                break;
            case "samsung":
                name = "三星";
                break;
            case "ppzhushou":
                name = "PP助手";
                break;
            case "kuaiyong":
                name = "快用";
                break;
            case "vivo":
                name = "vivo";
                break;
            case "tuiguang":
                name = "蜜蜂推广";
                break;
            case "baiduhuanliang":
                name = "百度换量";
                break;
            case "360":
                name = "360";
                break;
            case "google":
                name = "谷歌";
                break;
            case "91shushou":
                name = "91手机商城";
                break;
            case "wandoujia":
                name = "豌豆荚";
                break;
            case "anzhoushichang":
                name = "安卓市场";
                break;
            case "aliyunos":
                name = "阿里云OS";
                break;
            case "tengxunshoujiguanjia":
                name = "应用宝推广";
                break;
            case "wailian":
                name = "歪脸";
                break;
            case "sougou":
                name = "搜狗";
                break;
            case "anzhi":
                name = "安智";
                break;
            case "lianxiang":
                name = "联想";
                break;

            case "leshi":
                name = "乐视";
                break;

            case "jifeng":
                name = "机锋";
                break;

            case "jinli":
                name = "金立";
                break;

            case "mumayi":
                name = "木蚂蚁";
                break;

            case "yingyongbei":
                name = "应用贝";
                break;
            default:
                name = channelId;
                break;
        }
        return name;
    }
}
